package top.aicey.ai.sparring.dto.model;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("文件模型")
public class DocFiles {

    @JSONField(name = "id")
    @JsonProperty("id")
    private String id;

    @JSONField(name = "doc_id")
    @JsonProperty("doc_id")
    private String docId;

    @JSONField(name = "name")
    @JsonProperty("name")
    private String name;

    @JSONField(name = "status")
    @JsonProperty("status")
    private Integer status;

    @JSONField(name = "type")
    @JsonProperty("type")
    private String type;

    @JsonProperty("file_path")
    @JSONField(name = "file_path")
    private String filePath;

    @JsonProperty("duration")
    @JSONField(name = "duration")
    private String duration;

    @JsonProperty("size")
    @JSONField(name = "size")
    private Integer size;

    @JsonProperty("open_url")
    @JSONField(name = "open_url")
    private String openUrl;

    @JsonProperty("status_time")
    @JSONField(name = "status_time")
    private Date statusTime;

    @JsonProperty("created")
    @JSONField(name = "created")
    private Date created;

    @JsonProperty("creator")
    @JSONField(name = "creator")
    private Long creator;

    @JsonProperty("updated")
    @JSONField(name = "updated")
    private Date updated;

    @JsonProperty("updator")
    @JSONField(name = "updator")
    private Long updator;

    @JsonProperty("finished")
    @JSONField(name = "finished")
    private Boolean finished;
}
